package com.example.zyl.api.entity.dto;

import com.example.zyl.api.entity.SysMinio;
import com.example.zyl.common.query.annotation.SearchField;
import com.example.zyl.common.query.enums.Operation;
import com.example.zyl.common.query.query.BaseQueryDto;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * (SysMinio)Dto实体类
 *
 * @author zyl
 * @since 2025-01-13 15:45:00
 */
@Accessors(chain = true)
public class SysMinioDto implements BaseQueryDto<SysMinio>, Serializable {
    
    private static final long serialVersionUID = -62529368320603179L;

    /** 
     * minio主键
     */
    @SearchField(value = Operation.EQ)
    private Long minioId;
    /** 
     * 存储桶名称
     */
    private String minioBucket;
    /** 
     * 文件名
     */
    private String fileName;
    /** 
     * 原名
     */
    private String originalName;
    /** 
     * 文件地址
     */
    private String fileUrl;
    /** 
     * 文件大小
     */
    private Double fileSize;
    /** 
     * 文件的content_type
     */
    private String contentType;
    /** 
     * 文件后缀名
     */
    private String fileSuffix;
    /** 
     * 创建人
     */
    private String createUser;
    /** 
     * 创建时间
     */
    private LocalDateTime createTime;
    /** 
     * 更新人
     */
    private String updateUser;
    /** 
     * 更新时间
     */
    private LocalDateTime updateTime;
    /** 
     * 是否删除（0：未删除，1：已删除）
     */
    private Integer isDelete;


    public Long getMinioId() {
        return minioId;
    }

    public void setMinioId(Long minioId) {
        this.minioId = minioId;
    }

    public String getMinioBucket() {
        return minioBucket;
    }

    public void setMinioBucket(String minioBucket) {
        this.minioBucket = minioBucket;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getOriginalName() {
        return originalName;
    }

    public void setOriginalName(String originalName) {
        this.originalName = originalName;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public Double getFileSize() {
        return fileSize;
    }

    public void setFileSize(Double fileSize) {
        this.fileSize = fileSize;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getFileSuffix() {
        return fileSuffix;
    }

    public void setFileSuffix(String fileSuffix) {
        this.fileSuffix = fileSuffix;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}

